package com.framework.service.impl;

import com.framework.mapper.UserMapper;
import com.framework.pojo.User;
import com.framework.service.UserService;

public class UserServiceImpl implements UserService {
	
	private UserMapper userMapper;
	
	public User searchObject(String id) {
		
		return userMapper.searchObject(id);
	}

	public User searchObjectByAccount(String account) {
		
		return userMapper.searchObjectByAccount(account);
	}

	public void setUserMapper(UserMapper userMapper) {
		this.userMapper = userMapper;
	}
}
